package com.azier.kapacitor.script.node.nodebind;

import com.azier.kapacitor.script.node.NoOpNode;
import com.azier.kapacitor.script.node.Node;

/**
* 1 * @Author: luoj
* 2 * @Date: 2019/11/8 11:27
* 3
*/

/**
Has no constructor signature.
**/

/**
没有构造函数签名。
**/
public interface NoOpNodeBind extends Node {
    /**
     Flatten points with similar times into a single point.
     **/
    /**
     将具有相似时间的点展平为单个点。
     **/
    default NoOpNode noOp(){
        NoOpNode nextNode = new NoOpNode();
        this.setNextNode(nextNode);
        nextNode.zetHeadNode(this.getHeadNode());
        return nextNode;
    }
}